package com.ht.medicaltreatment.adapter

import android.text.TextUtils
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ht.medicaltreatment.R
import com.ht.medicaltreatment.bean.CentrifugeNormalRecordBean
import com.ht.medicaltreatment.bean.ReturnRecordBean
import com.ht.medicaltreatment.bean.ReturnTimeOutRecordBean

class SampleReturnTimeOutRecordAdapetr:BaseQuickAdapter<ReturnTimeOutRecordBean,BaseViewHolder>(R.layout.item_return_sample_record_layout) {
    init {
        addChildClickViewIds(R.id.btnRemark)
    }
    override fun convert(holder: BaseViewHolder, item: ReturnTimeOutRecordBean) {
        holder.setText(R.id.tvCode,"${getItemPosition(item)+1}")
        holder.setText(R.id.tvOrderName,item.orderName)
        holder.setText(R.id.tvUserName,"NA")
        holder.setText(R.id.tvCount,"NA")
    }
}
